package cn.edu.xmut.chen.zhlg.zhlg.user.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class UserUpdateParam {
    @NotBlank(message = "用户ID不能为空")
    private String id;
    
    private String pic;
    
    @NotBlank(message = "昵称不能为空")
    @Size(max = 255, message = "昵称长度不能超过255个字符")
    private String nickName;
    
    private String sex;
    
    @Size(max = 45, message = "地区长度不能超过45个字符")
    private String region;
    
    @Size(max = 255, message = "简介长度不能超过255个字符")
    private String bio;
} 